package com.heima.minio;

import com.heima.file.service.impl.MinIOFileStorageService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;


@SpringBootApplication
public class MinIOApplication {

    public static void main(String[] args) {
        SpringApplication.run(MinIOApplication.class,args);
    }

    @Bean
    public MinIOFileStorageService fileStorageService(){
        return new MinIOFileStorageService();
    }
}